package com.example.manager.entity;

import java.io.Serializable;

public class Follow implements Serializable {
    private int userid;
    private int bookid;
    private int id;

    public Follow() {
    }

    public Follow(int userid, int bookid, int id) {
        this.userid = userid;
        this.bookid = bookid;
        this.id = id;
    }

    @Override
    public String toString() {
        return "Follow{" +
                "userid=" + userid +
                ", bookid=" + bookid +
                ", id=" + id +
                '}';
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
